package org.event;

/**
 * Created by IntelliJ IDEA.
 * User: babitsky.viacheslav
 * Date: 21.01.2008
 * Time: 11:27:10
 */
public class FilterRWEvent extends java.util.EventObject {

    private Object originalValue;
    private Object filteredValue;

    /**
     * Creates new FilterRWEvent
     */
    public FilterRWEvent(Object source, Object value) {
        super(source);
        originalValue = value;
        filteredValue = value;
    }

    public Object getObject() {
        return originalValue;
    }

    public void setFilteredValue(Object filteredValue) {
        this.filteredValue = filteredValue;
    }

    public Object getFilteredValue() {
        return filteredValue;
    }
}

